﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IReservation" in both code and config file together.
[ServiceContract]
public interface IReservation
{
    [OperationContract]
    int AddBooking(DateTime bookingDate, string seatnumbers, int showTimeID, int userID);

    [OperationContract]
    Dictionary<int, string> GetBookings(int userID);

    [OperationContract]
    int getBookingID(int showtimeid, int userid);
}
